/* 
Mutations 业务层数据提交
*/
import storage from './../utils/storage'

export default {
  setUserInfo(state, data) {
    state.userInfo = data
    storage.setItem('userInfo', data)
  },
  setUserMenuList(state, data) {
    state.menuList = data
    storage.setItem('menuList', data)
  },
  setUserActionList(state, data) {
    state.actionList = data
    storage.setItem('actionList', data)
  },
  setNoticeCount(state, data) {
    state.noticeCount = data
  },
}